package partlow.yelp.datatypes;

public class YelpLocation implements YelpType {

	private String address = "";
	private String city = "";
	private YelpCoordinate coordinate;
	private String postalCode = "";
	private String stateCode = "";
	
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public YelpCoordinate getCoordinate() {
		return coordinate;
	}
	public void setCoordinate(YelpCoordinate coordinate) {
		this.coordinate = coordinate;
	}
	public String getPostalCode() {
		return postalCode;
	}
	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}
	public String getStateCode() {
		return stateCode;
	}
	public void setStateCode(String stateCode) {
		this.stateCode = stateCode;
	}
	
	@Override
	public String toString() {
		return "Location [address=" + address + ", city=" + city + ", coordinate=" + coordinate + ", postalCode="
				+ postalCode + ", stateCode=" + stateCode + "]";
	}
}
